Dynomotion

Group: DynoMotion Message: 7235 From: tapiolarikka Date: 4/11/2013
Subject: Finally some movement!!
Hello All!

I finally got my installation so far that I got started with axis config.

For some reason one axis first starts in one direction, then changes direction and completes the step response move without errors. Following error in general is very small.
On slow (10000pulses/3sec) move the wrong direction is up to a quarter motor turn (2500ppr encoder)
On fast moves(30000pulses/1sec) it is much sorter

What could be possible cause to this?

Rgds,
Tapio
Group: DynoMotion Message: 7237 From: Tom Kerekes Date: 4/12/2013
Subject: Re: Finally some movement!!
Hi Tapio,

Post some Step Response Plots so we can understand what you are describing.  I assume you have a servo and are using KFLOP+Kanalog?  Show us your Config, Filters, and Step Response Screens.

Regards
TK


Group: DynoMotion Message: 7252 From: tapiolarikka Date: 4/14/2013
Subject: Re: Finally some movement!!
Hi Tom,

Yes I have KFlop&Kanalog with DAC servo. I've been thinking that I'll try and reverse the DAC wires.

Other question: In Kanalog IO screen I see that the GPio bits twiggle.
I do not have anything connected to them. Should I add pullup/down resistors? (or if any present how do I activate them).

Since it seems that I'm going to be stuck with Mach3 for a while:

-Where does the homing routine with Mach go?
-How do I pass external reset button to Mach3?
I now have Mach E-stop tied to optoin7 so that voltage applied to opto triggers e-stop.
I'd like to pass the voltage removed as reset button push/enable to mach3.

Rgds
Tapio

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Tapio,
>
> Post some Step Response Plots so we can understand what you are describing.  I assume you have a servo and are using KFLOP+Kanalog?  Show us your Config, Filters, and Step Response Screens.
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: tapiolarikka <tapio.larikka@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, April 11, 2013 12:43 PM
> Subject: [DynoMotion] Finally some movement!!
>
>
>
>  
> Hello All!
>
> I finally got my installation so far that I got started with axis config.
>
> For some reason one axis first starts in one direction, then changes direction and completes the step response move without errors. Following error in general is very small.
> On slow (10000pulses/3sec) move the wrong direction is up to a quarter motor turn (2500ppr encoder)
> On fast moves(30000pulses/1sec) it is much sorter
>
> What could be possible cause to this?
>
> Rgds,
> Tapio
>
Group: DynoMotion Message: 7254 From: Tom Kerekes Date: 4/14/2013
Subject: Re: Finally some movement!!
Hi Tapio,

If you only reverse the output the Servo will run away from the target destination instead of converge toward it.  You must reverse both the input and the output to maintain negative feedback.  You can use InputGain0 and OutputGain to do this.

Kanalog and KFLOP IO are very high impedance (meg ohms).  They will float to random values if they are not connected to anything and used.  Just ignore their state.

For Mach3 homing there is a standard template called HomeMach3.c.  Note that Mach3 call the same home program for each axis that it wants to home.  Your program must check the "flags" variable to home only the axis that Mach3 want you to home as shown in the example.

For an external Reset button I think you would need to configure an External Mach3 Trigger Event.  See:

http://www.cnczone.com/forums/mach_software_artsoft_software/16853-mach3_external_estop_reset.html

Regards
TK